<%@ page language="java"  contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title><t:mutiLang langKey="common.add.param"/></title>
<t:base type="jquery,easyui,tools"></t:base>
</head>
<body style="overflow-y: hidden" scroll="no">
<t:formvalid formid="formobj" layout="div" dialog="true" action="homeController.do?saveChecker">
	<input name="id" type="hidden" value="${checker.id }">
	<fieldset class="step">
		<div class="form">
			<label class="Validform_label"><span style="color:red;">*</span> 用检员姓名: </label> 
			<input name="checkerName" class="inputxt"  style="width:200px;" value="${checker.checkerName }" datatype="*2-20">
			<span class="Validform_checktip"> 请填写2~20位字符 </span>
		</div>
		
		<div class="form">
			<label class="Validform_label"><span style="color:red;">*</span> 所在班组: </label> 
			<select name="bzId" id="bzId" style="width:200px;height:30px;">
			       <option value="" >请选择</option>
                   <!-- 遍历班组-->			
                   <c:forEach var="team" items="${teamLst }" >                      
		             <option value="${team.bzId }" <c:if test="${team.bzId == checker.bzId}">selected</c:if>>${team.bzName }</option>
		         </c:forEach>
	        </select>
			<span class="Validform_checktip"> 请选择所在班组 </span>
		</div>
		
		<div class="form">
			<label class="Validform_label"><span style="color:red;">*</span> 用检员编号: </label> 
			<input name="checkerNo" class="inputxt"  style="width:200px;"  value="${checker.checkerNo }" datatype="n"> 
			<span class="Validform_checktip"> 请填写用检员编号 </span>
		</div>
		
		<div class="form">
			<label class="Validform_label"><span style="color:red;">*</span> 启用状态: </label> 
			<t:dictSelect field="state" id="state" typeGroupCode="teamState" hasLabel="false" defaultVal="${checker.state }" datatype="*1-1"></t:dictSelect>
		    <span class="Validform_checktip"> 请选择启用状态 </span>
		</div>
		
		<div class="form">
			<label class="Validform_label"><span style="color:red;">&nbsp;&nbsp;</span> 备注: </label> 
			<textarea style="height:100px;width:100%;border:0px;" id="remark" name="remark"  maxlength="150" >${checker.remark }</textarea>
		</div>
	</fieldset>
</t:formvalid>
</body>
</html>
